import request from '../request/request'

export function getRoom(params) {
  console.log(params);
  return request({
    url: '/room/' + params.id,
    header: {
      'Authorization': 'Bearer ' + params.token
    },
    method: 'get'
  })
}